Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Specifying an External Movie Target for an Action

In order to specify that an action is to target an element of an external movie, the external movie must be identified by either its name or its ID. To do this, two new target atom types have been introduced; these atoms are used in addition to the existing target atoms, which may specify that the element is a particular Track or object within a Track such as a Sprite.

A movie ID may be specified by an expression.

These are the additional target atoms provided in QuickTime 4:

[(ActionTargetAtoms)] =
    <kActionTarget>
        
        <kTargetMovieName>
            [Pstring MovieName]
        OR
        <kTargetMovieID>
            [long MovieID]
            OR
            [(kExpressionAtoms)]

Tagging a Movie with a Name or ID

Naming a Movie

Setting a Movie's ID


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |